package com.supersoul.myself.dao;

import com.supersoul.myself.entity.Category;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface CategoryDao extends JpaRepository<Category, String> {
    Page<Category> findByCreatorId(String uid, Pageable pageable);
}
